package org.csu.mybigpro.DTO;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class ExamUpdateDTO {
    private Long id;  // 更新时必须传id

    private String name;
    private Long courseId;
    private Integer totalScore;
    private Integer timeLimit;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
